<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>数据表格</title>
		<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js"></script>
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="../js/easyui/themes/icon.css" />

		<script type="text/javascript" src="../js/ztree/jquery.ztree.all-3.5.js"></script>
		<link rel="stylesheet" type="text/css" href="../js/ztree/zTreeStyle.css" />

		<script type="text/javascript">
			$(function(){
				$("#tab1").datagrid({
					columns:[[
						{field:'id',title:'编号',width:200},
						{field:'name',title:'名称',width:200},
						{field:'price',title:'价格',width:200}
					]],
					url:"product.json",
					pagination:true
					
				})
			})
		</script>

	</head>

	<body>
		<table id="tab1">
		</table>
	</body>

</html>